package com.huawei.po;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author wujinpeng
 * @version 1.0
 * @date 2025/1/23 18:11
 * @description
 */
@Data
public class User {

    private int id;

    @NotBlank
    private String name;

    @Min(10)
    private int age;
}
